/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package modele;

import java.math.BigDecimal;
import java.util.ArrayList;
import org.joda.time.DateTime;

/**
 *
 * @author Simon
 */
public class BonEnSaisie {
//    Classe utilisée pour enregistrer un nouveau bon de commande dans la base de données.
    public final static byte SITE_ANGERS = 1;
    public final static byte SITE_NANTES = 2;
    public final static byte SITE_RENNES = 3;
    public final static int JOURNEE = 0;
    public final static int MATINEE = 8;
    public final static int APRES_MIDI = 14;
    public final static byte HORAIRES_12H30 = 1;
    public final static byte HORAIRES_12H = 2;
    public final static byte REGLEMENT_CHEQUE = 1;
    public final static byte REGLEMENT_VIREMENT = 2;
    
    private byte site;
    private String raisonSociale;
    private String adresse;
    private String codePostal;
    private String ville;
    private String nomSignataire;
    private String nomIntervenant;
    private String telIntervenant;
    private String emailIntervenant;
    private ArrayList<DateTime> dates;
    private String designation;
    private String session;
    private BigDecimal prixUnitaire;
    private byte horaires;
    private String informations;
    private int delaiMinimum;
    private int delaiMaximum;
    private byte moyenReglement;
    private String observations;

    public BonEnSaisie(byte site, String raisonSociale, String adresse, String codePostal, String ville, String nomSignataire, String nomIntervenant, String telIntervenant, String emailIntervenant, ArrayList<DateTime> dates, String designation, String session, BigDecimal prixUnitaire, byte horaires, String informations, int delaiMinimum, int delaiMaximum, byte moyenReglement, String observations) {
        this.site = site;
        this.raisonSociale = raisonSociale;
        this.adresse = adresse;
        this.codePostal = codePostal;
        this.ville = ville;
        this.nomSignataire = nomSignataire;
        this.nomIntervenant = nomIntervenant;
        this.telIntervenant = telIntervenant;
        this.emailIntervenant = emailIntervenant;
        this.dates = dates;
        this.designation = designation;
        this.session = session;
        this.prixUnitaire = prixUnitaire;
        this.horaires = horaires;
        this.informations = informations;
        this.delaiMinimum = delaiMinimum;
        this.delaiMaximum = delaiMaximum;
        this.moyenReglement = moyenReglement;
        this.observations = observations;
    }

    public byte getSite() {
        return site;
    }

    public String getRaisonSociale() {
        return raisonSociale;
    }

    public String getAdresse() {
        return adresse;
    }

    public String getCodePostal() {
        return codePostal;
    }

    public String getVille() {
        return ville;
    }

    public String getNomSignataire() {
        return nomSignataire;
    }

    public String getNomIntervenant() {
        return nomIntervenant;
    }

    public String getTelIntervenant() {
        return telIntervenant;
    }

    public String getEmailIntervenant() {
        return emailIntervenant;
    }

    public ArrayList<DateTime> getDates() {
        return dates;
    }

    public String getDesignation() {
        return designation;
    }

    public String getSession() {
        return session;
    }

    public BigDecimal getPrixUnitaire() {
        return prixUnitaire;
    }

    public byte getHoraires() {
        return horaires;
    }

    public String getInformations() {
        return informations;
    }

    public int getDelaiMinimum() {
        return delaiMinimum;
    }

    public int getDelaiMaximum() {
        return delaiMaximum;
    }

    public byte getMoyenReglement() {
        return moyenReglement;
    }

    public String getObservations() {
        return observations;
    }
    
}
